<template>
  <div class="account">
      <div class="account-item">
        <div class="number">
          <span class="balance">0.00</span>元
        </div>
        <div class="account-info">我的余额</div>
      </div>
      <div class="account-item">
        <div class="number">
          <span class="balance">0</span>个
        </div>
        <div class="account-info">我的优惠</div>
      </div>
      <div class="account-item">
        <div class="number">
          <span class="balance">0</span>分
        </div>
        <div class="account-info">我的积分</div>
      </div>
  </div>
</template>

<script>
  export default {
    name:"UserAccount"
  }
</script>

<style scoped>
   .account {
     display: flex;
     justify-content: space-around;
     width: 100%;
     height: 120px;
     background-color: #fff;
     font-size: 16px;
   }

   .account .account-item {
     flex:1;
     text-align: center;
     height: 100%;
     border-right: 2px solid #f2f2f2;
     padding-top: 20px;
   }

   /* .account .account-item:nth-child(3) {
     border-right: 0;
   } */

   .account-item .number {
     font-size: 18px;
     padding: 5px;
   }
  
   .account-item .number .balance {
     font-size: 30px;
     font-weight: 700;
     color: #ff5f3e;
     padding-right: 1px;
   }
</style>